package com.sundablog.dip;

import com.sundablog.dip.impl.WeiBoLoginServiceImpl;

public class Test {
    public static void main(String[] args) {
        User user = new User();
        user.setiLoginService(new WeiBoLoginServiceImpl());
        user.login("sunda","123456");
    }
}
